package cn.cnsy123.blog.application.http.response;

import java.io.Serializable;

public class CaptchaResponse implements Serializable {

    private String resultCode;

    private String msg;

    private String imgData;

    private String imgKey;

    public String getResultCode() {
        return resultCode;
    }

    public void setResultCode(String resultCode) {
        this.resultCode = resultCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getImgData() {
        return imgData;
    }

    public void setImgData(String imgData) {
        this.imgData = imgData;
    }

    public String getImgKey() {
        return imgKey;
    }

    public void setImgKey(String imgKey) {
        this.imgKey = imgKey;
    }

    public CaptchaResponse() {
    }

    public CaptchaResponse(String resultCode, String msg) {
        this.resultCode = resultCode;
        this.msg = msg;
    }

    public CaptchaResponse(String resultCode, String msg, String imgData, String imgKey) {
        this.resultCode = resultCode;
        this.msg = msg;
        this.imgData = imgData;
        this.imgKey = imgKey;
    }

    @Override
    public String toString() {
        return "CaptchaResponse{" +
                "resultCode='" + resultCode + '\'' +
                ", msg='" + msg + '\'' +
                ", imgData='" + imgData + '\'' +
                '}';
    }
}
